package com.angel.bean;

import java.sql.Timestamp;

public class InMessage {
    private Integer id;
    private Integer from;
    private Integer to;
    private String content;
    private Timestamp time;
    private Integer status;
    public InMessage() {}



    public InMessage(String content) {
        this.content = content;
    }

    public InMessage(Integer from, Integer to, String content, Timestamp time) {
        this.from = from;
        this.to = to;
        this.content = content;
        this.time = time;
    }

    public Integer getTo() {
        return to;
    }

    public void setTo(Integer to) {
        this.to = to;
    }

    public Integer getFrom() {
        return from;
    }

    public void setFrom(Integer from) {
        this.from = from;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
